package com.kykj.kykj.dao;

import com.kykj.kykj.entity.ArticleViewsEntity;
import com.kykj.kykj.vo.ArticleViewsVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface ArticleViewsDao {
    List<ArticleViewsEntity> getArticleViewsList();//获取文章浏览列表
    int addArticleViews(@Param("articleViewsVo") ArticleViewsVo articleViewsVo);//添加文章浏览
    int delArticleViews(@Param("id") int id);//删除文章浏览
    int upArticleViews(@Param("articleViewsVo") ArticleViewsVo articleViewsVo);//修改文章浏览

}
